from app.model import History
from app import db

print(History.query.all())